$OpenBSD: patch-man_Makefile_in,v 1.7 2012/11/17 00:16:54 brad Exp $
--- man/Makefile.in.orig	Tue Nov  6 11:02:20 2012
+++ man/Makefile.in	Mon Nov 12 00:32:32 2012
@@ -11,7 +11,7 @@ mandir      := @mandir@
 INSTALL      := @INSTALL@
 INSTALL_DATA := @INSTALL_DATA@
 
-MAN1        := znc.1.gz znc-buildmod.1.gz
+MAN1        := znc.1 znc-buildmod.1
 
 ifneq "$(V)" ""
 VERBOSE=1
@@ -35,7 +35,7 @@ clean:
 
 install: $(MAN1)
 	test -d $(DESTDIR)$(mandir)/man1 || $(INSTALL) -d $(DESTDIR)$(mandir)/man1
-	$(INSTALL_DATA) $(MAN1) $(DESTDIR)$(mandir)/man1
+	cd $(VPATH) && $(INSTALL_DATA) $(MAN1) $(DESTDIR)$(mandir)/man1
 
 uninstall:
 	for file in $(MAN1) ; do \
